package cook.service;

import cook.request.FridgeGoodsIdRequest;
import cook.request.FridgeGoodsModRequest;
import cook.request.FridgeGoodsRequest;
import cook.request.FridgeIdRequest;
import cook.util.JsonData;

/**
 * <p>
 * 冰箱里的食材表 服务类
 * </p>
 *
 * @author 爱计算机的小天才
 * @since 2023-03-29
 */
public interface FridgeGoodsService {
    JsonData add(FridgeGoodsRequest fridgeGoodsRequest);

    JsonData del(FridgeGoodsIdRequest fridgeGoodsIdRequest);

    JsonData mod(FridgeGoodsModRequest fridgeGoodsModRequest);

    JsonData detail(FridgeGoodsIdRequest fridgeGoodsIdRequest);

    JsonData list(FridgeIdRequest fridgeIdRequest);
}
